#ifndef __ANX_H__
#define __ANX_H__

//#define NOTE 1;
#ifdef NOTE
const int WINDOW_X = 640;
const int WINDOW_Y = 480;
#else
const int WINDOW_X = 960;
const int WINDOW_Y = 720;
#endif
//const float PI = 3.141592f;
#include<D3D11.h>
#include<D3DX11.h>
class Device;
class DeviceContext;
class SwapChain;
class Vector2D;
namespace ANX
{
	void CreateDeviceAndSwapChain(HWND hwnd,SwapChain* swap_chain, Device* device,DeviceContext* device_context);
	ID3D11RenderTargetView* CreateRenderTargetView(SwapChain* swap_chain,Device* device);
	bool Check(HRESULT hresult);
	void DrawLine(Vector2D start,Vector2D end);
};
#endif __ANX_H__